package com.dhcc.bpm.modules.content.service.impl;

import com.dhcc.bpm.modules.content.entity.Notice;
import com.dhcc.bpm.modules.content.vo.NoticeVO;
import com.dhcc.bpm.modules.content.mapper.NoticesMapper;
import com.dhcc.bpm.modules.content.service.INoticesService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @ClassName NoticesServiceImpl
 * @Description  公告信息 服务实现类
 * @Author lijiacheng
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */

@Service
public class NoticesServiceImpl extends BaseServiceImpl<NoticesMapper, Notice> implements INoticesService {

	@Override
	public IPage<NoticeVO> selectNoticePage(IPage<NoticeVO> page, NoticeVO notice) {
		return page.setRecords(baseMapper.selectNoticePage(page, notice));
	}

}
